#include<bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
const int N=2e5+10;
#define INF 0x3f3f3f3f;
typedef long long int ll;
#define close(); std::ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);
//----------------------------------------------------------------------------//
ll cnm(ll n, ll m)
{
	ll f = 1;
	ll i, j = 1;
	for (i = n - m + 1; i <= n; i++)
	{
		f = f * i;
		if (f % j == 0)
		{
			f = f / j;
			j++;
		}
	}
	return f;
}

int main()
{
	//cout<<cnm(2,3)<<'\n';
	ll ans=cnm(3,2);
	cout<<ans<<'\n';
	return 0;
}